package com.chinasoft.class6.group5;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class WangZiXun implements TrueWord {
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public WangZiXun(){
        wordList.add("日本战败啦！80十周年啦！");
        wordList.add("大一军训，爽！");
        wordList.add("AI是这样的");
    }
    @Override
    public String getWord() {
        int index = random.nextInt(wordList.size());
        return wordList.get( index);
    }

    @Override
    public String getName() {
        return "李四";
    }
}
